package com.xbjtech.service;

import java.util.Collection;
import java.util.List;

import com.xbjtech.model.Order;
import com.xbjtech.model.OrderExample;

public interface OrderService {

	List<Order> selectOrdersPaged(int page, int row, OrderExample example);
	
	void insert(Order order) throws Exception;
	
	void deleteById(Long id) throws Exception;
	
	void updateOrder(Order order) throws Exception;
	
	Order selectById(Long id);
	
	void insertOrders(Collection<Order> orders) throws Exception;
	
}
